package j02io;

import java.io.File;
import java.util.Date;

public class J3bianli {
    public static void main(String[] args) {
        File f = new File("_0905/datas");
        System.out.println(f.isDirectory());
        File[] arr = f.listFiles();
        for (File fx : arr) {
            System.out.println(fx);
            System.out.println(fx.isDirectory());
            System.out.println("====");
        }
        System.out.println("************");
        File h = new File("_0905/datas/hlm.txt");
        System.out.println(f.lastModified());
        System.out.println(new Date(f.lastModified()));
        System.out.println(h.length());
        System.out.println("创建文件夹");
        //  _0905/datas/xyz
        //  _0905/datas/xyz/aa/bb/mm/hh
    }
}
